package cn.wolfcode.service;

import cn.wolfcode.domain.Permission;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {
    void deleteByPrimaryKey(Long id);
    void insert(Permission permission);
    Permission selectByPrimaryKey(Long id);
    List<Permission> selectAll();
    void updateByPrimaryKey(Permission permission);
    PageInfo<Permission> query(QueryObject qo);
    void reload();

}
